﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="PageBlock.ascx.cs" Inherits="Hxsoft.AppV1.Admin.PageBlockManage.Controls.PageBlock" %>

<table border="0" cellpadding="0" cellspacing="0" width="100%" class="FormTable">
	<tr>
		<td class="FieldBox">名称</td>
		<td class="ValueBox">
			<asp:TextBox ID="CtrlCode" runat="server"></asp:TextBox>
			<asp:Button ID="BtnValidateCode" runat="server" Text="验证" OnClick="BtnValidateCode_Click" CausesValidation="False" />
			<asp:UpdatePanel ID="UpValidateCode" runat="server" RenderMode="Inline">
				<ContentTemplate>
					<asp:Label ID="LbValidateCode" runat="server"></asp:Label>
				</ContentTemplate>
				<Triggers>
					<asp:AsyncPostBackTrigger ControlID="BtnValidateCode" EventName="Click" />
				</Triggers>
			</asp:UpdatePanel>
			<asp:RequiredFieldValidator ID="RFVCtrlCode" runat="server" ControlToValidate="CtrlCode" ErrorMessage="字段 [Code] 不允许为空。">*</asp:RequiredFieldValidator>
		</td>
	</tr>
	<tr>
		<td class="FieldBox">标题</td>
		<td class="ValueBox">
			<asp:TextBox ID="CtrlName" runat="server"></asp:TextBox>
			<asp:RequiredFieldValidator ID="RFVCtrlName" runat="server" ControlToValidate="CtrlName" ErrorMessage="字段 [Name] 不允许为空。">*</asp:RequiredFieldValidator>
			<span class="FieldExplain">[格式：主页-1级栏目名-...-所属板块，如：首页_资讯_松香手册]</span>
		</td>
	</tr>
	<tr>
		<td class="FieldBox">内容</td>
		<td class="ValueBox">
			<FCK:FCKeditor ID="CtrlContent" runat="server">
			</FCK:FCKeditor>
		</td>
	</tr>
</table>